Open
Conversation
249913f to
80f9929
Compare
4a9510b to
a021274
Compare
747a251 to
d10384a
Compare
ec7ab93 to
ccd9ba6
Compare
a3687fb to
fe41720
Compare
ccd9ba6 to
7c3472a
Compare
This commit adds codes of RGWDedup and RGWDedupManager. RGWDedup is a function that enables deduplication into RGW layer. - RGWDedup: an instance that controlls RGWDedupManager during its lifecycle - DedupManager: a thread that manages whole deduplication routine Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
7c3472a to
9819a7b
Compare
RGWFPManager is a component of RGWDedup that stores chunks information. Signed-off-by: daegon.yang <daegon.yang@samsung.com> Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
9819a7b to
ae1b189
Compare
ae1b189 to
14e250e
Compare
RGWDedupWorker does chunking RADOS objects and stores chunks' fingerprints in FPManager. If the fingerprint is already stored in the FPManager, chunk dedup is performed. This commit implements RGWDedupWorker's dedup logic. Signed-off-by: daegon.yang <daegon.yang@samsung.com> Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
RGWChunkScrubWorker finds reference mismatches between metadata objects and chunk objects and fix them. It compares all the chunk objects’ references and referenced metadata objects’ chunk information. During scrub processing, if any reference mismatch is found, the workers fix it. Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Signed-off-by: daegon.yang <daegon.yang@samsung.com>
In an environment where multiple-RGW daemons are running in a zone, RGWDedup also supports to operate in a scalable manner. Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com> Signed-off-by: daegon.yang <daegon.yang@samsung.com>
Too many references in a chunk object causes chunk related operation slow. This commit constrains chunk dedup if the number of references of the chunk object exceeds max_chunk_ref_size. Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
When a cls_cas_references_chunk() is called on a chunked metadata object, it makes the object's chunks be promoted in maybe_handle_manifest_detail(). It happens, for instance, while doing a chunk scrub job. However, this operation doesn't need to get evicted data. It only needs metadata information that already exists in metadata object. To prevent this object promotion, this commit adds an exception handling for this. Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
14e250e to
b1c59a8
Compare
Member
|
TODO: rebase to release branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes followings.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows